package test;

public class printout {
    public static void main(String[] args) {
        out(98932);
    }

    public static void out(int n) {
        if (n >= 10) {
            out(n / 10);
            System.out.println(n % 10);
        }
    }
}
